package com.vueblog.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author 
 * @since 2022-02-17
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("M_BLOG")
@KeySequence(value = "seq_m_blog", clazz = Long.class)
public class MBlog implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "ID", type = IdType.INPUT)
    private Long id;

    @TableField("USER_ID")
    private Long userId;

    @TableField("TITLE")
    private String title;

    @TableField("DESCRIPTION")
    private String description;

    @TableField("CONTENT")
    private String content;

    @TableField("CREATED")
    private LocalDateTime created;

    @TableField("STATUS")
    private Integer status;


}
